<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./js/jquery.min.js"></script>
  </head>
  <body>
    <script>
      let p = {
        loginName: 'ld',
        password: '5CD2EB7F1F88C292BF6076183F25758AE8A8E4B98087A1A9954EB5AC9C4B2D5A',
        sys_requestType: 'ajax'
      }

      let p1 = {
        sys_requestType: 'ajax',
        sys_read_session: ''
      }
      function f() {
        $.ajax({
          url: 'http://192.168.10.201:6060/sys/loginAction/login.exc',
          async: false,
          type: 'POST',
          data: p,
          success: function (res) {
            sid = JSON.parse(res).sid
            p1.sys_read_session = sid
          }
        })
        console.log('f')
      }
      function f1() {
        $.ajax({
          url: 'http://192.168.10.201:6060/sys/orguserAction/getSessioninfo.exc',
          async: false,
          type: 'POST',
          data: p1,
          success: function (res) {
            console.log('[ res ] >', res)
          }
        })
        console.log('f1')
      }
      function f0() {
        f()
        f1()
      }
      f0()
    console.log(888);
    </script>
  </body>
</html>
